Release 10.1A: OpenEdge Development:
.NET Open Clients
Passing a DATASET or DATASET-HANDLE as an OUTPUT parameter
When the client application calls a method with a static ProDataSet (
DATASETparameter)OUTPUTparameter, the client must provide a variable of the strongly typed DataSet class provided by ProxyGen. In this case, the client does not need to instantiate the object.When the client application calls a method with a dynamic ProDataSet (
DATASET-HANDLEparameter)OUTPUTparameter, the client must provide a variable of typeSystem.Data.DataSet.Again, the client does not need to instantiate the object. In this case, the parameter can be returned asUnknownor undefined. As a result, you must ensure the client code is written to handle these cases.On return from the method, the client can access the rows of the tables contained in the ProDataSet using the
TablesandRowsproperties on the on the strongly typed DataSet orSystem.Data.DataSetclass.Any data in the parameter at the time of the method is replaced on return from the proxy call. All output data is immediately available to the client after the proxy call returns.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |